#ifndef	NET
#define	NET

#include <windows.h>
#include "config.h"
#include "Socket.h"
#include "Thread.h"

class CNet:public CThread
{
public:
	CNet () ;
	~CNet () ;

	virtual	void	Run ();
	virtual	void	Stop ();

public:
	MCSocket	sock ;
protected:
	virtual	void	Task () ;
private:
	bool	isContinue ;
};

extern	CNet	net ;
#endif